<template>
  <div class="route-plan">
    <span>{{count}}</span>
    <span @click="handleAdd">累加</span>
  </div>
</template>

<script lang="ts">
export default {
  name: "routePlan",
};
</script>

<script lang="ts" setup>
import {ref} from "vue";

const count = ref(0)
const handleAdd = () => {
  count.value++;
}
</script>

<style scoped lang="less">
.route-plan {
  width: 100px;
  height: 300px;
  border: 1px solid #1ea7fd;
  background: red;
}
</style>
